package decorator.v2;

import java.io.IOException;
import java.io.InputStream;

public class MyFileInputStream extends MyInputStream {

    public void getFile(){
        System.out.println("MyFileInputStream...");
    }

    @Override
    public int read() throws IOException {
        return read0();
    }

    private int read0(){return 0;}
}
